package Day001_继承_抽象类.demo05this_super.demo02_Super三种用法;

public class Fu {
    int num1 = 10;

    public void eat(){
        System.out.println("吃红烧肉...");
    }

    public Fu(){
        System.out.println("父类空参构造方法");
    }

    public Fu(int num1){
        System.out.println("父类有参构造方法");
        this.num1 = num1;
    }
}
